<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@page import="duck.manager.impl.DepartmentManagerImpl"%>
<%
DepartmentManagerImpl dm=new DepartmentManagerImpl();
String id=request.getParameter("id");
String all="";
if(null==id){
all=dm.viewAllOnce();
}else{
all=dm.viewById(id);
}
out.println(all);
%>